package router

import (
	"github.com/gin-gonic/gin"
	v1 "miomp-terminal-suite/backend/app/api/v1"
)

type DashboardRouter struct {
}

func (a *DashboardRouter) InitRouter(Router *gin.RouterGroup) {
	appRouter := Router.Group("dashboard")

	baseApi := v1.ApiGroupApp.BaseApi
	{
		appRouter.POST("/os/info", baseApi.GetDashboardOsInfo)
		appRouter.POST("/base/:ioOption/:netOption", baseApi.GetDashboardBaseInfo)
		appRouter.POST("/current/:ioOption/:netOption", baseApi.GetDashboardCurrentInfo)
	}
}
